package com.inspur.edp.commonmodel.engine.core.data.serializer;

import com.inspur.edp.cef.spi.jsonser.entity.AbstractEntitySerializerItem;
import com.inspur.edp.commonmodel.spi.AbstractEntityDataSerializer;
import java.util.Arrays;
import java.util.List;

public class CommEngineDataSerializer extends AbstractEntityDataSerializer {

  protected CommEngineDataSerializer() {
    super(null, false, getTypes());
  }

  private static List<AbstractEntitySerializerItem> items = Arrays
      .asList(new CommonEngineDataSerializerItem());

  private static List<AbstractEntitySerializerItem> getTypes() {
    return items;
  }

  @Override
  protected AbstractEntityDataSerializer getChildConvertor(String childCode) {
    return new CommEngineDataSerializer();
  }
}
